package com.andyage.admin.action;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.andyage.admin.service.IAdHttpService;

/**
 * 此控制器用于远程请求数据
 * @author john
 *
 */
@Controller
@RequestMapping("/admin")
public class AdHttpAction {
	@Resource
	private IAdHttpService iadHttpService;
	/**
	 * 通过项目id查看远程url地址返回的url地址
	 * @param request
	 * @param response
	 */
	@RequestMapping("/postHttpByProjectId")
	public void postHttpByProjectId(HttpServletRequest request,HttpServletResponse response) {
		iadHttpService.postHttpByProjectId(request, response);
			
	}
}
